package com.hkrt.arch;

import android.app.ProgressDialog;

/**
 *
 * @author chenjinguang
 * @date 07.07.2017
 */

public interface BaseLoadingContract {

    interface View extends BaseMVPContract.View {

        /**-------------------------------------------------*/

        void showLoading(String text);

        void showContent();

        void showEmpty(String text);

        void showError(String text);

        void showErrorMsg(String msg);

        void showProgressDialog();

         void showProgressDialog(boolean cancelable) ;

         void showProgressDialog(boolean cancelable, String message);

         void hideProgressDialog() ;

        /**--------------------------------------------------------*/

    }

    interface Presenter extends BaseMVPContract.Presenter<View> {

    }

}
